<?php 
use lib\GlobalState;
//注册默认 全局参数
$globalState = GlobalState::getInstance();

$globalState->set('islogin_admin', $islogin_admin);
$globalState->set('islogin_user', $islogin_user);

$globalState->set('password_hash', $password_hash);

$globalState->set('conf', $conf);

$globalState->set('date',$date);

$globalState->set('httphost',$httphost);

$globalState->set('salt',$salt);

$globalState->set('DB_VERSION',executeSQLQuery("select VERSION() as ver ")['ver']);

$globalState->set('CACHE',$CACHE);

$globalState->set('userrow', $userrow);

$globalState->set('uid', $user_uid);

$globalState->set('adminrow', $adminrow);

$globalState->set('qqprotocol', $qqprotocol);



?>